package com.mark.entity;


import lombok.Data;

/**
 * @Author Markburt
 * @Description :
 * @DATE: 2020/5/30
 * @TIME: 下午 06:23
 * @YEAR: 2020
 * @Version :
 **/
@Data
public class Result {


    private boolean flag;
    private Integer code;
    private String message;
    private Object data;

    public Result() {
    }


    public Result(boolean flag, Integer code, String message) {
        this.flag = flag;
        this.code = code;
        this.message = message;
    }

    public Result(boolean flag, Integer code, String message, Object data) {
        this.flag = flag;
        this.code = code;
        this.message = message;
        this.data = data;
    }



}
